<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
require_once 'base.php';
require_once 'function.php';

global $babBody;

/* Choix de l'affichage */
$idx = bab_rp('idx', 'classroom');//A changer

switch ($idx) {
    case "classroom":
        include_once 'classroomUser.php';
        $babBody->addItemMenu("lecture", bab_translate("Lecture", $GLOBALS['babAddonFolder']), $GLOBALS['babAddonUrl'] . "user&idx=lecture");
        break;
    case "lecture":
        $babBody->addItemMenu("classroom", bab_translate("Classroom", $GLOBALS['babAddonFolder']), $GLOBALS['babAddonUrl'] . "user&idx=classroom");
        include_once 'lectureUser.php';
        break;
}


?>